package com.ztesoft.huangfu.learning.springboot.springboottransaction;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


@SpringBootApplication
@MapperScan(basePackages = {SpringbootTransactionApplication.BASE_PACKAGED_INTERFACE_DAO, SpringbootTransactionApplication.BASE_PACKAGED_INTERFACE_MAPPER})
public class SpringbootTransactionApplication {
    static final String BASE_PACKAGED_INTERFACE_DAO = "com.ztesoft.**.dao";
    static final String BASE_PACKAGED_INTERFACE_MAPPER = "com.ztesoft.**.mapper";

    public static void main(String[] args) {
        SpringApplication.run(SpringbootTransactionApplication.class, args);
    }
}
